
class OscImage {
  String thumb;
  int w;
  int h;
  String name;
  String href;
  String type;

  OscImage({this.thumb, this.w, this.h, this.name, this.href, this.type});

  OscImage.fromJson(Map<String, dynamic> json) {
    thumb = json['thumb'];
    w = json['w'];
    h = json['h'];
    name = json['name'];
    href = json['href'];
    type = json['type'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['thumb'] = this.thumb;
    data['w'] = this.w;
    data['h'] = this.h;
    data['name'] = this.name;
    data['href'] = this.href;
    data['type'] = this.type;
    return data;
  }
}